package com.luoye.lj.wstool.common;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 15-10-10
 * Time: 下午7:15
 * To change this template use File | Settings | File Templates.
 */
public class StringUtils {
    public static String makeFirstCharUpcase(String str){
        String targetStr=str;
        String firstChar=str.substring(0,1);
        firstChar=firstChar.toUpperCase();
        targetStr=firstChar+str.substring(1);
        return targetStr;
    }
    public static String makeFirstCharLowercase(String str){
        String targetStr=str;
        String firstChar=str.substring(0,1);
        firstChar=firstChar.toLowerCase();
        targetStr=firstChar+str.substring(1);
        return targetStr;
    }
}
